package com.lnking.lnkingplace.mapper;

import com.lnking.lnkingplace.model.entity.UserStreet;
import com.lnking.starter.mybatis.mapper.CustomBaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhangqt
 * @since 2022-08-23
 */
public interface UserStreetMapper extends CustomBaseMapper<UserStreet> {

    @Select(" select street from user_street where del_flag = 0 and user_id =#{userId} ")
    List<String> queryStreet(String userId);
}
